{% extends "files/base.html" %}
{% load i18n %}

{% block title %}{% trans "Remove a file" %}{% endblock %}

{% block content %}
<h1>{% trans "Really remove this file?" %}</h1>
  <div class="form_container">
  <blockquote>{{ file|linebreaks }}</blockquote>
  <form action="." method="post">{% csrf_token %}
    {% if next %}<div><input type="hidden" name="next" value="{{ next }}" id="next" /></div>{% endif %}
    <p class="submit">
    <input type="submit" name="submit" value="{% trans "Remove" %}" /> or <a href="{% if next %}{{ next }}{% else %}{{ file.get_absolute_url }}{% endif %}">cancel</a>
    </p>
  </form>
  </div>
{% endblock %}
